﻿using System;
using System.Collections.Generic;
using System.Text;
using Dynamo.Core.Materializer;

namespace Dynamo.Examples.HelloWorld.Serializer
{
	class TestClass1
	{
		public TestClass1()
		{
			testClass = new List<TestClass2>() { new TestClass2() { TestClass1 = this } };
		}

		string sString = "testing";

		public string String
		{
			get
			{
				return sString;
			}
			set
			{
				sString = value;
			}
		}
		Guid iInt = Guid.NewGuid();

		[Id]
		public Guid Int
		{
			get
			{
				return iInt;
			}
			set
			{
				iInt = value;
			}
		}
		List<TestClass2> testClass;

		public List<TestClass2> TestClass2
		{
			get
			{
				return testClass;
			}
			set
			{
				testClass = value;
			}
		}
	}
}
